package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.MissionItemFeedbackDO;
import org.jsola.hr.vo.MissionItemFeedbackListVO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 任务调度中心子项反馈记录
 *
 * @author zhr
 */
@Repository("hrMissionItemFeedbackDAO")
public interface IMissionItemFeedbackDAO extends IJsolaMapper<MissionItemFeedbackDO> {

    /**
     * 根据子项Id查询该子项反馈记录
     *
     * @param itemId 子项Id
     * @return 反馈记录
     */
    List<MissionItemFeedbackListVO> selectFeedbackByItemId(@Param(value = "itemId") String itemId);

}

